package com.sun.hunk.exception;

/**
 *
 * @author sunil
 */
public class DuplicateGenericCodeException extends Exception {

    private String error = "Duplicate Generic Code is found";

    public DuplicateGenericCodeException() {
    }

    public DuplicateGenericCodeException(String message) {
        super(message);
        error = message;
    }

    @Override
    public String getMessage() {
        return error;
    }

}
